# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-elm
pkgver=5.5.0
pkgrel=1
pkgdesc="Elm grammar for tree-sitter"
url="https://github.com/elm-tooling/tree-sitter-elm"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/elm-tooling/tree-sitter-elm/archive/v$pkgver/tree-sitter-elm-$pkgver.tar.gz"
options="!check"  # no tests for shared lib

build() {
	abuild-tree-sitter build
}

package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
bed720b3c68720c6bc1f0724b0b6acb3a56c9520b25f66f2617e961a7cd75dae6bc47374cb192aad7912da1111bcc84c2df49be2e567fa787cfdeb6850135d4c  tree-sitter-elm-5.5.0.tar.gz
"
